package cn.lili.modules.goods.entity.dos;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * 商品采集
 *
 * @author pikachu
 * @since 2020-02-18 15:18:56
 */
@Data
@TableName("goods_grab_detail")
@ApiModel(value = "商品采集明细记录")
public class GoodsGrabDetail {


    private static final long serialVersionUID = -1L;


    private String id;
    private String grabId;

    private String siteId;

    private String url;

    private String type;

    private String typeName;

    private String reason;

    //状态（1成功  2失败）
    private Integer status;


//    @NotEmpty(message = "品牌名称不能为空")
//    @Length(max = 20, message = "品牌名称应该小于20长度字符")
//    @ApiModelProperty(value = "品牌名称", required = true)
//    private String name;
//
//    @NotEmpty(message = "品牌图标不能为空")
//    @Length(max = 255, message = "品牌图标地址长度超过255字符")
//    @ApiModelProperty(value = "品牌图标", required = true)
//    private String logo;

}